package de.greenrobot.daoexample.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by squall on 2016/9/5.
 */
public class Achievement implements Serializable {

    private List<Record> top_record= new ArrayList<>();
    private User user = new User();

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Record> getTop_record() {
        return top_record;
    }

    public void setTop_record(List<Record> top_record) {
        this.top_record = top_record;
    }

    public class Record implements Serializable {
        private String work;
        private String real_name;
        private String type_name;
        private String type;
        private int rank;
        private String id;

        public String getWork() {
            return work;
        }

        public String getReal_name() {
            return real_name;
        }

        public String getType_name() {
            return type_name;
        }

        public String getId() {
            return id;
        }

        public void setWork(String work) {
            this.work = work;
        }

        public void setReal_name(String real_name) {
            this.real_name = real_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
